<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>搜索</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no" />
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-
scale=1, user-scalable=no">
    <link rel="stylesheet" type="text/css" href="../css/common.css" />
    <link rel="stylesheet" type="text/css" href="../css/y_index.css" />
    <style>
    .bg1 {
        background: #fff5ea;
    }
    </style>
</head>

<body>
    <div class="bigBox">
        <div class="container bw">
            <div class="m20">
                <ul class="flex p20 border-r1" style="box-shadow: 0 0 10px rgba(0,0,0,.2)">
                    <img src="../img/y_search.png" style="width: .28rem;height: .28rem;" />
                    <input class="ml20 search" type="text" name="search" placeholder="搜索商品" />
                </ul>
            </div>
            <div class="mt40 p20">
                <li class="col0 fw flex">历史搜索</li>
                <li class="mt20 flex r_wrap historyS">
                    <span class="bg1 mt20 p20">智能床垫</span>
                    <span class="bg1 mt20 ml20 p20">优质床上用品</span>
                    <span class="bg1 mt20 ml20 p20">纯棉四件套装</span>
                    <span class="bg1 mt20 ml20 p20">枕头</span>
                </li>
            </div>
        </div>
    </div>
</body>

</html>
<script src="../js/jquery-1.8.3.min.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/dlc.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/swiper.min.js" type="text/javascript" charset="utf-8"></script>
<script src="https://gw.alipayobjects.com/as/g/h5-lib/alipayjsapi/3.1.0/alipayjsapi.inc.min.js"></script>
<!--公司的常用函数封装-->
<script type="text/javascript">
var result = getUrlParam('result');
$('.search').val(result)
$('.search').on('keydown', function(e) {
    var val = $('.search').val();
    if (e.keyCode == 13) {
        location.href = "ser_serchResult.html"
        // $('.historyS').append('<span class="bg1 mt20 p20 mr20">' + val + '</span>')
    }
})
</script>